package day02;

public class DateTypeCastDemo {
    public static void main(String[] args) {
        /*
        int a=1000;
        long b=a;
        double c=b;
        int d=(int)b;
        int e=(int)c;
        long f=(long)c;


        long aa=10000;
        double bb=10L;
        System.out.println(bb);


        long aaa=10000000000L;
        double bbb=12.91234567;
        int ccc=(int)aaa;
        int ddd=(int)bbb;
        long eee=(long)bbb;
        System.out.println(ccc);
        System.out.println(ddd);
        System.out.println(eee);


        byte a1=(byte)a;
        System.out.println(a1);

        short a2=(short)a;
        System.out.println(a2);

         */
        byte b1=5;
        byte b2=6;
        byte b3=(byte)(b1+b2);

        System.out.println('1'+'1');
        System.out.println(100+100);
        System.out.println('大'+'家'+'好');
        System.out.println(1+'9');
        System.out.println('你');
        System.out.println('0');







    }
}
